import 'package:flutter/material.dart';
// import 'package:flutterlearn/components/02_%E6%97%A0%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
// import 'package:flutterlearn/components/03_%E6%9C%89%E7%8A%B6%E6%80%81%E7%BB%84%E4%BB%B6.dart';
// import 'package:flutterlearn/components/04_%E7%BB%84%E4%BB%B6%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F.dart';
// import 'package:flutterlearn/components/05_Container%E7%BB%84%E4%BB%B6.dart';
// import 'package:flutterlearn/components/06_Text%E7%BB%84%E4%BB%B6%E5%B1%9E%E6%80%A7.dart';
// import 'package:flutterlearn/components/07_Image%E7%BB%84%E4%BB%B6.dart';
// import 'package:flutterlearn/components/08_Column%E5%B8%83%E5%B1%80%E7%BB%84%E4%BB%B6.dart';
// import 'package:flutterlearn/components/09_Row%E5%B8%83%E5%B1%80.dart';
// import 'package:flutterlearn/components/10_Expanded%E5%BC%B9%E6%80%A7%E5%B8%83%E5%B1%80.dart';
// import 'package:flutterlearn/components/11_Stack%E5%B1%82%E5%8F%A0%E5%B8%83%E5%B1%80.dart';
// import 'package:flutterlearn/components/12_%E5%95%86%E5%93%81%E8%AE%A2%E5%8D%95.dart';
// import 'package:flutterlearn/components/13_ListView%E4%BD%BF%E7%94%A8.dart';
// import 'package:flutterlearn/components/14_ListViewBuilder%E4%BD%BF%E7%94%A8.dart';
// import 'package:flutterlearn/components/15_ListViewSeparated.dart';
// import 'package:flutterlearn/components/16_ListView%E7%BB%BC%E5%90%88%E6%A1%88%E4%BE%8B.dart';
// import 'package:flutterlearn/components/17_GridView%E4%BD%BF%E7%94%A8.dart';
// import 'package:flutterlearn/components/18_GridView%E5%AE%9E%E6%88%98.dart';
// import 'package:flutterlearn/components/19_GridViewExtent.dart';
// import 'package:flutterlearn/components/20_CustomScrollView%E6%95%B4%E5%90%88ListView%E5%92%8CGridView.dart';
import 'package:flutterlearn/components/21_dio%E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82.dart';
import 'package:flutterlearn/components/22_%E7%95%8C%E9%9D%A2%E8%B7%B3%E8%BD%AC.dart';
import 'package:flutterlearn/components/secondPager.dart';
// import 'package:flutterlearn/components/01_%E6%8A%BD%E7%A6%BB%E7%BB%84%E4%BB%B6.dart';

void main() {
  runApp(
    MaterialApp(
      //设置头部信息
      // home: MyApp1(),
      // home: MyApp2(age: 99),
      // home: MyApp3(),
      // home: MyApp4(parentName: "我是传过来的值"),
      // home: MyApp5(),
      // home: MyApp6(),
      // home: MyApp7(),
      // home: MyApp8(),
      // home: MyApp9(),
      // home: MyApp10(),
      // home: MyApp11(),
      // home: MyApp12(),
      // home: MyApp12(),
      // home: MyApp13(),
      // home: MyApp14(),
      // home: MyApp15(),
      // home: MyApp16(),
      // home: const MyApp17(),
      // home: MyApp18(),
      // home: MyApp19(),
      // home: MyApp20(),
      // home: MyApp21(),
      home: const MyApp22(),
      routes: {
        '/second': (context) => MyApp23(),
        // '/second': (context) => MyApp23(),
      },
    ),
  );
}
